package com.example.apple.myapplication625hap.activity;

import android.net.nsd.NsdManager;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

import com.example.apple.myapplication625hap.R;
import com.example.apple.myapplication625hap.iface.RegisterLstener;

/**
 * Created by Apple on 2017/5/25.
 */

public class RegisterActivity extends AppCompatActivity implements RegisterLstener, View.OnClickListener {
    private EditText et_name,edittext7,edittext8,edittext9,edittext10;
    private Button button5,button6;
    protected void onCrate(Bundle savedInstanceState){
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        init();
    }

    private void init() {
        et_name=(EditText)findViewById(R.id.et_name);
        edittext7=(EditText)findViewById(R.id.editText7);
        edittext8=(EditText)findViewById(R.id.editText8);
        edittext9=(EditText)findViewById(R.id.editText9);
        edittext10=(EditText)findViewById(R.id.editText10);
        button5=(Button)findViewById(R.id.button5);
        button6=(Button)findViewById(R.id.button6);
        button5.setOnClickListener(this);
        button6.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.button5:
                break;
            case R.id.button6:

                break;
        }

    }

    @Override
    public void onResponse(String regInfo) {

    }

    @Override
    public void onFail(String msg) {

    }
}
